import request from '../utils/request'

//获取用户id的好友列表
export const getFriendListApi = (id) => request.get('/friends', { params: { id } })


//添加好友
export const addFriendApi = (data) => request.post('/friends/addFriend', data)



